﻿using System;

namespace HQS.TokenInterpolation
{
    public class TokenRuntimeValue : ICloneable
    {
        public string Value { get; set; }

        public object RawValue { get; set; }

        public bool Resolved { get; set; }

        public string ErrorMessage { get; set; }

        public string WarningMessage { get; set; }

        public string DiagnosticMessage { get; set; }

        public object Clone()
        {
            var newRuntimeValue = (TokenRuntimeValue) MemberwiseClone();
            return newRuntimeValue;
        }
    }
}